if (isServer) then
{
	/* set time */
	skipTime (floor random 12);
	/* set weather */
	0 setWindForce random 1;
	0 setWindDir random 360;
	0 setGusts random 1;
	0 setWaves random 1;
	//simulSetHumidity random 1;
	//0 setOvercast random 1;
	//0 setRain random 1;
};

show_mission_intro = false;

/* jip check */
if (!isServer && isNull player) then {isJIP=true;} else {isJIP=false;};

/* wait until player is initialized */
if (!isDedicated) then {waitUntil {!isNull player && isPlayer player};};

/* set jip variable */
if (isNil "isJIP") then {
	isJIP = false;
	player setVariable ["isJIP", false, true];
} else {
	if (isJIP) then {
		player setVariable ["isJIP", true, true];
	} else {
		player setVariable ["isJIP", false, true];
	};
};

/* disable saving */
enableSaving [false, false];

/* disable automatic radio messages */
enableSentences false;

/* drawing of cinema borders */
showCinemaBorder false;

/*** script initialization ***/

/* fog settings */
[player] execVM "scripts\fog.sqf";

/* briefing */
[player] execVM "scripts\uav_briefing.sqf";

call compile preprocessFileLineNumbers "tmf\init.sqf";

/* restictions */
[] execVM "scripts\restrictions.sqf";

/* respawn marker */
[] execVM "scripts\respawnFlag.sqf";
[] execVM "scripts\respawnUnits.sqf";

/* clean up */
[] execVM "scripts\removeDead.sqf";
[] execVM "scripts\removeItems.sqf";

[] execVM "scripts\reserved_slot.sqf";

/* conqu3st initialization */
[] exec "scripts\conqu3stInit.sqs"
